#!/usr/bin/env python
# -*- coding: utf-8 -*-

from fastapi import APIRouter, Depends
from typing import Dict, Any

from app.core.logging import get_logger

# 创建日志记录器
logger = get_logger("api_health")

# 创建路由
router = APIRouter()

@router.get("/health", response_model=Dict[str, Any])
async def health_check():
    """健康检查端点"""
    logger.debug("API健康检查")
    return {
        "status": "ok",
        "message": "API服务正常运行",
        "version": "0.1.0"
    }